//
//  MRMBaseController.m
//  MeiRiMoney
//
//  Created by qiuqk on 13-7-23.
//  Copyright (c) 2013年 MeiRiCai. All rights reserved.
//

#import "MRMBaseViewController.h"
#import "MRMUtils.h"

@interface MRMBaseViewController ()

@end

@implementation MRMBaseViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	
	[MRMUtils setBackButton:self];
	[MRMUtils setTopBarTitle:self title:self.navigationItem.title];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)goBack
{
	[self.navigationController popViewControllerAnimated:YES];
}

@end
